package com.ruoyi.eamp.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 值班表对象 eamp_class_date
 * 
 * @author ruoyi
 * @date 2024-08-08
 */
public class EampClassDate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long userId;

    /** 中间表id */
    private Long dateId;

    /** 日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 值班人 */
    @Excel(name = "值班人")
    private Long datePeople;

    /** 绑定排班id */
    @Excel(name = "绑定排班id")
    private Long classId;

    public void setDateId(Long dateId) 
    {
        this.dateId = dateId;
    }

    public Long getDateId() 
    {
        return dateId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setDatePeople(Long datePeople) 
    {
        this.datePeople = datePeople;
    }

    public Long getDatePeople() 
    {
        return datePeople;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dateId", getDateId())
            .append("date", getDate())
            .append("datePeople", getDatePeople())
            .append("classId", getClassId())
            .toString();
    }


}
